package com.yisu.expressway.utils;

import com.yisu.expressway.activity.BaseActivity;
import com.yisu.expressway.application.ExAppLifecycle;

/**
 * Created by Administrator on 2016/9/29 0029.
 */
public class ExAppUtils {
    public static void exitApp()
    {
        try {
            BaseActivity.finishAllActivity();
            ExAppLifecycle.getIntance().setIsLaunch(false);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
//			android.os.Process.killProcess(android.os.Process.myPid());
//			System.exit(0);
        }
    }
}
